package com.bgs.engineering.util.constants;

/**
 * 系统通用  常量值
 *
 * @author zcy
 * @date 2019-10-11
 */
public interface CommonConstants {

  /**
   * 成功标记
   */
  Integer SUCCESS = 200;

  /**
   * 错误标记
   */
  Integer ERROR = 500;

  Integer Authorization = 500;

  /**
   * 邮箱code码存放redis前缀
   */
  String CACHE_EMAIL_CODE = "CACHE_EMAIL_CODE_";
  /**
   * 手机code码存放redis前缀
   */
  String CACHE_PHONE_CODE = "CACHE_PHONE_CODE_";

  /**
   * 用户名、密码、验证码登录时code码存放redis前缀
   */
  String CACHE_USER_PASSWORD_CODE = "CACHE_USER_PASSWORD_CODE_";
  String ADD = "新增";
  String DELETE = "删除";
  String UPDATE = "更新";
  String SELECT = "查询";

  String DELETE_OK = "删除成功!";

  String EXIT = "退出登录";
  String LOGIN = "登录";

  String IS_LOGIN = "IS_LOGIN";
}
